package com.matrix.review.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 有点甜
 * @since 2025/7/27
 */
@Data
@TableName("t_review")
public class Review implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Long orderId;
    private Long userId;
    private Long shopId;
    private Integer overallRating;
    private Integer tasteRating;
    private Integer packagingRating;
    private String comment;
    private Boolean hasContent;
    private Boolean isAnonymous;
    private Integer status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
